<?php

class Response
{
	private $headers;
	private $body;
	
	public function __construct($body)
	{
		$this->headers = array();
		$this->body = $body;
	}
	
	public function append_content($body)
	{
		$this->body += $body;
	}
	
	public function set_header($key, $value)
	{
		$this->headers[$key] = $value;
	}
	
	public function get_headers()
	{
		return $this->headers;
	}
	
	public function get_body()
	{
		return $this->body;
	}
}

?>